<template>
    <div class="header">
         <div class='c-left'>
            <span class='iconfont' @click="toHome">&#xe604; </span>
          </div>
          
            城市选择
           
    </div>
</template>

<script>
    export default {
        name: 'Header',
        data () {
            return {
            
            }
        },
        methods:{
            toHome(){
                this.$router.push("/");
            }
        }
    }
</script>

<style lang="stylus" scoped>
    .header{
        width:100%;
        height:.88rem;
        background:#00bcd4;
        font-size .32rem
        position relative
        text-align center
        color #fff
        line-height .88rem
      }
        .c-left{
            position absolute
            left .2rem
        }

</style>